PgSqlBlob Constructor(Byte[])
Initializes a new instance of the
PgSqlBlob class, setting the
Value property to the provided array of bytes.
public PgSqlBlob(
byte[]
)
'Declaration
Public Function New( _
ByVal () As Byte _
)
Parameters
- value
- The byte array to be stored in the Value property.
byte[] byteArray = { 1, 2, 3, 4, 5};
PgSqlBlob blob1 = new PgSqlBlob(byteArray);
Dim byteArray As Byte() = New Byte() {1, 2, 3, 4, 5}
Dim blob1 As New PgSqlBlob(byteArray)